# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: site-packages\Crypto\Random\OSRNG\__init__.py
"""Provides a platform-independent interface to the random number generators
supplied by various operating systems."""
__revision__ = "$Id$"
import os

if os.name == "posix":
    from Crypto.Random.OSRNG.posix import new
else:
    if os.name == "nt":
        from Crypto.Random.OSRNG.nt import new
    else:
        if hasattr(os, "urandom"):
            from Crypto.Random.OSRNG.fallback import new
        else:
            raise ImportError("Not implemented")
